import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import http from './http/http'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import paging from './components/publicCom/paging'
import diySelect from './components/publicCom/diySelect'
import axios from 'axios'
Vue.use(paging)
Vue.use(diySelect)
Vue.component('paging',paging)
Vue.component('diySelect',diySelect)
Vue.use(ElementUI)
http.defaults.baseURL='/api'
axios.defaults.baseURL = '/api'
Vue.prototype.$axios=axios

Vue.config.productionTip = false
Vue.prototype.$axios = http
Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
